{% extends "teacher/base.html" %}


{% block content_main %}
<div class="layui-row">
    <h1>试卷: {{ test_paper.name }}</h1>
</div>
<div class="layui-row">
    <table class="layui-table" lay-filter="demo">
      <thead>
        <tr>
          <th>姓名</th>
          <th>分数</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
        {% for i in students_result %}
          <tr>
            <td>{{ i["student_name"] }}</td>
            <td>{{ i["score"] }}</td>
            <td><a href="/teacher/test_paper_result?id_test_paper_answer={{ i["id_test_paper_answer"] }}">查看详情</a></td>
          </tr>
        {% endfor %}
      </tbody>
    </table>
</div>
{% endblock %}
